package cn.accp.mvc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.accp.mvc.dao.DistrictDao;
import cn.accp.mvc.entity.District;
import cn.accp.mvc.service.DistrictService;
@Service("districtService")
public class DistrictServiceImpl implements DistrictService {
	@Autowired
	private DistrictDao districtDao;
	public void setDistrictDao(DistrictDao districtDao) {
		this.districtDao = districtDao;
	}
	@Override
	public List<District> getAllDistrict() {
		return districtDao.getAllDistrict();
	}


	
	
}
